% MY MACROs
\newcommand{\TODO}[1]{ \fbox{{\bf TODO:} #1}}

\newcommand{\grbf}[1] {\mbox{\boldmath${#1}$\unboldmath}} %\renewcommand{\grbf}[1] {\mathbf{#1}}
\newcommand{\gbf}[1] {{\bf #1}}
\newcommand{\gbOut}[1]{}
\newcommand{\gbQue}[1]{{\footnotesize \textbf{\emph{#1}}}}

%{{{ abreviations
\newcommand{\bit}{\begin{itemize}}
\newcommand{\eit}{\end{itemize}}
\newcommand{\bde}{\begin{description}}
\newcommand{\ede}{\end{description}}
\newcommand{\bce}{\begin{center}}
\newcommand{\ece}{\end{center}}
\newcommand{\ben} {\begin{enumerate}}
\newcommand{\een} {\end{enumerate}}
\newcommand{\barr} {\begin{array}}
\newcommand{\earr} {\end{array}}
\newcommand{\bean} {\begin{eqnarray*}}
\newcommand{\eean} {\end{eqnarray*}}
\newcommand{\edoc} {\end{document}}
%}}}

\newcommand{\p} {\partial}
%\newcommand{\And}{\hspace{0.3cm} \mbox{and} \hspace{0.3cm}}
\newcommand{\Or}{\hspace{0.3cm} \mbox{or} \hspace{0.3cm}}
\newcommand{\In}{\hspace{0.3cm} \mbox{in} \hspace{0.3cm}}
\newcommand{\For}{\hspace{0.3cm} \mbox{for} \hspace{0.3cm}}
\newcommand{\Minimize}{\hspace{0.3cm} \mbox{minimize} \hspace{0.3cm}}
\newcommand{\Maximize}{\hspace{0.3cm} \mbox{maximize} \hspace{0.3cm}}
\newcommand{\SubjectTo}{\hspace{0.3cm} \mbox{subject} \hspace{0.15cm}
            \mbox{to} \hspace{0.3cm}}
\newcommand{\Div}{\mbox{div}}
\newcommand{\Grad}{{\gbf \nabla}}
\newcommand{\Curl}{{\gbf \nabla \times}}
\newcommand{\comment}[1]{}
\newcommand{\U}{\underline}
\renewcommand{\half}[1]{\frac{#1}{2}}
\newcommand{\dt}{\delta t}
\newcommand{\bigO}{\mathcal{O}}

%{{{ integrals
\newcommand{\iOm}[1]{\int_{\Omega} #1 \, d\Omega}
\newcommand{\ipOm}[1]{\int_{\p \Omega} #1 \, d\p \Omega}
\newcommand{\iom}[1]{\int_{\omega} #1 \, d\omega}
\newcommand{\ipom}[1]{\int_{\p \omega} #1 \, d\p \omega}
\newcommand{\iga}[1]{\int_{\gamma} #1 \, d\gamma}
\newcommand{\iGa}[1]{\int_{\Gamma} #1 \, d\Gamma}
\newcommand{\iT}[1]{\int_{0}^T #1 \, dt}
\newcommand{\ivar}[4]{\int_{#2}^{#3} #4 \, d\: #1}
%}}}

\newcommand{\MA}[1]{{\mathcal #1}}

\newcommand{\codefn}[1]{{\tt \large #1}}

%{{{ section,captions,color,paragraph format
%\definecolor{sblue}{cmyk}{0.98,0.13,0,0.43} % section blue
%\definecolor{sblue}{cmyk}{0.98,0.13,0,0.43} % section blue
%\newcommand{\csblue} {\color{sblue}}  %\renewcommand{\csblue}{\color{black}}
%\newcommand{\cblack} {\color{black}}
%\newcommand{\sblue}[1]{{\color{sblue} #1}}
%
%\newcommand{\msection}[1]{\csblue \section{#1.} \cblack \vspace{-10pt} \vspace*{-15pt} \hspace*{160pt}} %\renewcommand{\msection}[1]{\section{#1}}
%\newcommand{\msubsection}[1]{\csblue \subsection{#1} \cblack \vspace{-7pt}} %\renewcommand{\msubsection}[1]{\subsection{#1}}
%\newcommand{\mparagraph}[1]{{\csblue \large \scshape #1. \cblack}} %\renewcommand{\mparagraph}[1]{\paragraph{#1}}
%\newcommand{\msubparagraph}[1]{{\csblue \small \sc #1.\cblack}}  %\renewcommand{\msubparagraph}[1]{\subparagraph{#1}}
%\newcommand{\mcaption}[3]{\vspace*{-15pt}\caption[#1]{{\sc #2.} \small
%\em #3} \vspace*{-5pt}}
%
%\definecolor{sred}{cmyk}{0.01,0.98,0,0.2} % section blue
%\reversemarginpar
%\newcommand{\mmargin}[1]{{\marginpar{\em\tiny #1}}}\renewcommand{\mmargin}[1]{}
%\newcommand{\reviewer}[1]{\sblue{\textbf{\em``#1''}}}
%%}}}
%

